package com.dingreading.cloud.admin.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 实体类。
 *
 * @author Administrator
 * @since 2024-12-06
 */
@Data
@Table("staff_login_log")
public class StaffLoginLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @Id(keyType = KeyType.Auto)
    private Long id;

    private String username;

    private String fullname;

    private String nickname;

    private String mob;

    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date loginTime;

    private String corpuid;

    private String corpname;

    private String storename;

    private String storeaddress;

    private String storeprovince;

    private String storecity;

    private String ip;

    private String ipprovince;

    private String ipcity;

    private String ipaddress;

    private String action;

}
